<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script src="lib/NxIDE/Utils.js"></script>
    <script src="lib/NxIDE/DOMUtils.js"></script>
    <script src="lib/NxIDE/Eventable.js"></script>
    <script src="lib/NxIDE/Renderable.js"></script>
    <script src="lib/NxIDE/text/TextModel.js"></script>
    <script src="lib/NxIDE/text/LineTracker.js"></script>
    <script src="lib/NxIDE/text/TextLayout.js"></script>
    <script src="lib/NxIDE/text/TextView.js"></script>
    <link href="lib/NxIDE.css" rel="stylesheet"/>
    <style>
        #main {
            width: 800px;
            height: 480px;
        }
    </style>
</head>
<body>
<div id="main"></div>
<script>
    var textView = new TextView();
    textView.setText('123234234\n234234243');
    textView.render(document.getElementById('main'));
</script>
</body>
</html>